<?php
/**
 * User Information
 * Depending on the type of customer, some of them
 * can have access to the application. In this case
 * a profile and activation block
 *
 */
use Fox\Generator;
use Fox\Html\DropList;
use Fox\Msg;
use Fox\Html\CheckBox;
use Fox\Html\Input;
use Fox\Html\Block;
$block = new Block('user',Msg(Msg::BUNDLE,Msg::TITLE_CONNECTION_DATA));
$block->add(new CheckBox(array('access','applicationaccess'),true))
->labelSize(200)
->label(Msg(Msg::BUNDLE,Msg::BUT_GIVE_ACCESS_TO_APPLICATION));
$block->add(new CheckBox('notify',true))
->labelSize(200)
->label(Msg(Msg::BUNDLE,Msg::BUT_NOTIFY_BY_EMAIL));
return $block;